import layout from "@/layout";

export default {
    //#region 父级路由表是不变的.表示角色列表和员工管理是在同样的父级之下
    path: "/user",
    component: layout,
    redirect: "/user/manage",
    name: "roleList", // 这里要对应页面权限
    //#endregion
    meta: {
        title: "user",
        icon: "personnel"
    },
    children: [
        {
            path: "/user/role",
            component: () => import("@/views/role-list/index"),
            meta: {
                title: "roleList",
                icon: "role"
            }
        }
    ]
};